{% extends "base.html" %}
{% block title %}Пример наследования шаблонов{% endblock %}
{% block style %}
    #header {
        width: 100%;
        background-color: #E5E5E5;
        margin: 3px;
    }
    #menu {
        width: 19%;
        background-color: #454545;
        float: left;
        margin: 2px;
    }
    #main {
        width: 80.1%;
        background-color: #45FFFF;
        float: right;
        margin: 2px;
    }
    #footer {
        clear: both;
        width: 100%;
        background-color: #FF45FF;
        margin: 3px;
    }
{% endblock %}
{% block menu %}
	<div id="menu">
		<ul>
            {% for item in menulist %}
				<li>{{ item }}</li>
            {% endfor %}
		</ul>
	</div>
{% endblock %}